<#include '/admin/header.html' > 

<style type="text/css">

.flag{
	color:red;
}

</style>

<div class="main" style="background-color: white;">
	<form id="addForm" enctype="multipart/form-data">
		<table width="98%" border="0" cellspacing="0" cellpadding="8">
			<tr>
				<th><span class="flag">*</span>用户名：</th>
				<td>
					<input class="input_text student_number" type="text" value="" name="student_number" maxlength="10"></input>
					<span class="number_msg" style="color:red;display: none;"></span>
              		<span class="number_success" style="color:green;display: none;"></span>
				</td>
				<th><span class="flag">*</span>密码：</th>
				<td><input class="input_text easyui-validatebox password" minlength="6" maxlength="12"
					type="password" name="password" data-options="required:true,validType:'minLength[6]'"></input>
					<span class="password_msg" style="color:red;display: none;"></span>
				</td>
			</tr>
			<tr>
				<th><span class="flag">*</span>昵称：</th>
				<td><input class="input_text nick_name" type="text" name="nick_name" maxlength="20"></input>
				<span class="nick_name_msg" style="color:red;display: none;"></span>
              	<span class="nick_success" style="color:green;display: none;"></span>
				</td>
				<th>性别：</th>
				<td valign="middle"><select class="easyui-validatebox"
					name="sex">
						<option value="1">&nbsp;男&nbsp;</option>
						<option value="0">&nbsp;女&nbsp;</option>
				</select></td>
			</tr>
			<tr>
				<th><span class="flag">*</span>真实姓名：</th>
				<td>
					<input class="input_text real_name" type="text" name="real_name" maxlength="20"></input>
					<span class="real_name_msg" style="color:red;display: none;"></span>
				</td>
				<th>qq：</th>
				<td>
					<input class="input_text" type="text" name="qq" maxlength="11"></input>
				</td>
			</tr>
			<tr>
				<th>班级：</th>
				<td>
					<input class="input_text" type="text" name="student_class"></input>
				</td>
				<th>移动电话：</th>
				<td><input class="input_text easyui-validatebox phone" type="text"
					id="name" validType="mobile" name="phone"
					data-options="required:false"  onkeyup="this.value=this.value.replace(/\D/g,'')"  onafterpaste="this.value=this.value.replace(/\D/g,'')" maxlength="11"></input>
					<span class="phone_msg" style="color:red;display: none;"></span>
					<span class="phone_success" style="color:green;display: none;"></span>
				</td>
			</tr>
			
		
			<tr>
				<th>安全问题：</th>
				<td><input class="input_text" type="text" id="name"
					name="pw_question" data-options="required:true"
					value="我的大学班主任名字？"  maxlength="58"></input>
				</td>
				<th>回答：</th>
				<td><input class="input_text" type="text" id="name"
					name="pw_answer" maxlength="58" data-options="required:true,validType:'maxLength[58]"></input></td>
			</tr>
			
			<tr>
				<th>地址：</th>
				<td>
					<#include '/admin/address.html' > 
				</td>
				
				<th>头像：</th>
				<td>
					<input type="file" name="pic">
				</td>
			</tr>
			
			<tr>
				<th>生日：</th>
				<td>
					<input class="easyui-datebox" style="width: 90px;height: 28px;" id="birthday" name="strBirthday" />
				</td>
				
				<th></th>
				<td></td>
			</tr>
		</table>
	</form>

	<div style="border:0px solid #000000;width:100%;">
		<a href='javascript:void(0)' style="margin-left:45%;" class='button blueButton' onclick='save()'>保存</a>
	</div>

</div>

<script>
	
$(".student_number").val("p");
	
</script>

<script type="text/javascript" src="../js/Member.js"></script>


<#include '/admin/footer.html' >
